package com.leon.alishop.core.config;

import java.util.List;

import com.leon.alishop.core.config.impl.ProviderConstantImpl;
import com.leon.alishop.model.ProviderInfo;

public abstract class ProviderConstant {

	private static ProviderConstant instance;
	
	public static ProviderConstant getInstance(){
		if(null == instance){
			instance = new ProviderConstantImpl();
		}
		return instance;
	}
	
	public abstract List<ProviderInfo> getProviderInfoList();
	public abstract ProviderInfo getProviderInfoById(Integer providerId);
	public abstract void reload();
	
}
